// Shapes ----------------------------------------
// -----------------------------------------------

// Shapes Carré
.shapeCarre{
  animation: shapeCarreAnim ease 4s;
  animation-iteration-count: 1;
  transform-origin: 50% 50%;
  -webkit-animation: shapeCarreAnim ease 4s;
  -webkit-animation-iteration-count: 1;
  -webkit-transform-origin: 50% 50%;
  -moz-animation: shapeCarreAnim ease 4s;
  -moz-animation-iteration-count: 1;
  -moz-transform-origin: 50% 50%;
  -o-animation: shapeCarreAnim ease 4s;
  -o-animation-iteration-count: 1;
  -o-transform-origin: 50% 50%;
  -ms-animation: shapeCarreAnim ease 4s;
  -ms-animation-iteration-count: 1;
  -ms-transform-origin: 50% 50%;
}

@keyframes shapeCarreAnim{
  0% {
    transform:  translate(0px,0px)  ;
  }
  20% {
    transform:  translate(90px,0px)  ;
  }
  40% {
    transform:  translate(90px,-90px)  ;
  }
  60% {
    transform:  translate(-90px,-90px)  ;
  }
  80% {
    transform:  translate(-90px,0px)  ;
  }
  100% {
    transform:  translate(0px,0px)  ;
  }
}

@-moz-keyframes shapeCarreAnim{
  0% {
    -moz-transform:  translate(0px,0px)  ;
  }
  20% {
    -moz-transform:  translate(90px,0px)  ;
  }
  40% {
    -moz-transform:  translate(90px,-90px)  ;
  }
  60% {
    -moz-transform:  translate(-90px,-90px)  ;
  }
  80% {
    -moz-transform:  translate(-90px,0px)  ;
  }
  100% {
    -moz-transform:  translate(0px,0px)  ;
  }
}

@-webkit-keyframes shapeCarreAnim {
  0% {
    -webkit-transform:  translate(0px,0px)  ;
  }
  20% {
    -webkit-transform:  translate(90px,0px)  ;
  }
  40% {
    -webkit-transform:  translate(90px,-90px)  ;
  }
  60% {
    -webkit-transform:  translate(-90px,-90px)  ;
  }
  80% {
    -webkit-transform:  translate(-90px,0px)  ;
  }
  100% {
    -webkit-transform:  translate(0px,0px)  ;
  }
}

@-o-keyframes shapeCarreAnim {
  0% {
    -o-transform:  translate(0px,0px)  ;
  }
  20% {
    -o-transform:  translate(90px,0px)  ;
  }
  40% {
    -o-transform:  translate(90px,-90px)  ;
  }
  60% {
    -o-transform:  translate(-90px,-90px)  ;
  }
  80% {
    -o-transform:  translate(-90px,0px)  ;
  }
  100% {
    -o-transform:  translate(0px,0px)  ;
  }
}

@-ms-keyframes shapeCarreAnim {
  0% {
    -ms-transform:  translate(0px,0px)  ;
  }
  20% {
    -ms-transform:  translate(90px,0px)  ;
  }
  40% {
    -ms-transform:  translate(90px,-90px)  ;
  }
  60% {
    -ms-transform:  translate(-90px,-90px)  ;
  }
  80% {
    -ms-transform:  translate(-90px,0px)  ;
  }
  100% {
    -ms-transform:  translate(0px,0px)  ;
  }
}

// Shapes Star
.shapeStar{
  animation: shapeStarAnim ease 4s;
  animation-iteration-count: 1;
  transform-origin: 50% 50%;
  -webkit-animation: shapeStarAnim ease 4s;
  -webkit-animation-iteration-count: 1;
  -webkit-transform-origin: 50% 50%;
  -moz-animation: shapeStarAnim ease 4s;
  -moz-animation-iteration-count: 1;
  -moz-transform-origin: 50% 50%;
  -o-animation: shapeStarAnim ease 4s;
  -o-animation-iteration-count: 1;
  -o-transform-origin: 50% 50%;
  -ms-animation: shapeStarAnim ease 4s;
  -ms-animation-iteration-count: 1;
  -ms-transform-origin: 50% 50%;
}

@keyframes shapeStarAnim{
  0% {
    transform:  translate(0px,0px)  ;
  }
  20% {
    transform:  translate(0px,-90px)  ;
  }
  40% {
    transform:  translate(90px,90px)  ;
  }
  60% {
    transform:  translate(-45px,-45px)  ;
  }
  100% {
    transform:  translate(0px,0px)  ;
  }
}

@-moz-keyframes shapeStarAnim{
  0% {
    -moz-transform:  translate(0px,0px)  ;
  }
  20% {
    -moz-transform:  translate(0px,-90px)  ;
  }
  40% {
    -moz-transform:  translate(90px,90px)  ;
  }
  60% {
    -moz-transform:  translate(-45px,-45px)  ;
  }
  100% {
    -moz-transform:  translate(0px,0px)  ;
  }
}

@-webkit-keyframes shapeStarAnim {
  0% {
    -webkit-transform:  translate(0px,0px)  ;
  }
  20% {
    -webkit-transform:  translate(0px,-90px)  ;
  }
  40% {
    -webkit-transform:  translate(90px,90px)  ;
  }
  60% {
    -webkit-transform:  translate(-45px,-45px)  ;
  }
  100% {
    -webkit-transform:  translate(0px,0px)  ;
  }
}

@-o-keyframes shapeStarAnim {
  0% {
    -o-transform:  translate(0px,0px)  ;
  }
  20% {
    -o-transform:  translate(0px,-90px)  ;
  }
  40% {
    -o-transform:  translate(90px,90px)  ;
  }
  60% {
    -o-transform:  translate(-45px,-45px)  ;
  }
  100% {
    -o-transform:  translate(0px,0px)  ;
  }
}

@-ms-keyframes shapeStarAnim {
  0% {
    -ms-transform:  translate(0px,0px)  ;
  }
  20% {
    -ms-transform:  translate(0px,-90px)  ;
  }
  40% {
    -ms-transform:  translate(90px,90px)  ;
  }
  60% {
    -ms-transform:  translate(-45px,-45px)  ;
  }
  100% {
    -ms-transform:  translate(0px,0px)  ;
  }
}